﻿using System;
using System.Collections.ObjectModel;
using System.ComponentModel;

namespace SD.Commons.DataFilters
{
    [Serializable]
    public class PremiseFilter
    {
        public Collection<string> BeginningLetters { get; private set; }

        [DefaultValue(false)]
        public bool IncludeInactive { get; set; }

        [DefaultValue(-1)]
        public int UnassociatedServiceId { get; set; }

        public string LocationName { get; set; }

        public void SetBeginningLetters(Collection<string> beginningLetters)
        {
            BeginningLetters = beginningLetters;
        }
    }
}